package section14;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.scene.control.Button;

public class App14_1 extends Application {
    @Override
    public void start(Stage primaryStage){
        Button bt=new Button("按钮");
        Scene scene1=new Scene(bt,400,180);
        primaryStage.setTitle("第一个JAVA_GUI程序");
        primaryStage.setScene(scene1);
        primaryStage.show();
    }
}
